
OBJS := sequence.o block.o graph.o program.o node.o main.o

all: $(OBJS)

config.h:
	echo "#define VERSION \"$(VERSION)\"" > $@

%.o: %.c config.h
	gcc $(CFLAGS) -c $< -o $@
	
clean:
	rm -f $(OBJS) config.h
